const mongoose = require("mongoose");

// 创建结构
const schema = new mongoose.Schema({
    schedulesId: { type: "ObjectId", ref: "schedules" },
    seatingsId:[String],
    userId: { type: "ObjectId", ref: "users" },
    seeState:Boolean
})
// 创建model
mongoose.model("order", schema, "order");
